package struct.adapter.interfaceAdapter;

/**
 * Created by hmily on 2017/9/7.
 */
public class TestMain {

    public static void main(String[] args) {
        targetInteface t1 = new Cat();

        targetInteface t2 = new Dog();

        t1.sayHello();
        t1.sayBye();

        System.out.println(".......");
        t2.sayHello();
        t2.sayBye();
    }
}
